//
//  PainterText.h
//  ChartRefactor
//
//  Created by CaoJun on 15/3/17.
//  Copyright (c) 2015年 CaoJun. All rights reserved.
//

#import "PainterBase.h"

@interface PainterText : PainterBase

- (NSString *) leftSideTextTransform:(double) value withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition;

- (CGRect) drawLeftSideText:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition;

- (void) drawRightSideText:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition;

- (void) drawTopSideText:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withDataIndex:(int) index withLeftSideTextRect:(CGRect) leftSideTextRect;

- (void) drawBottomSideText:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition;

@end
